package manager.server.event{
	import flash.events.EventDispatcher;

	/**
	 *  单例模式
	 * 	自定义事件
	 */	
	public class Singleton extends EventDispatcher {
		private static var _instance:Singleton;

		public function Singleton(singletonClass:singltonClass){
		}

		public static function getInstance():Singleton {
			if (Singleton._instance == null){
				Singleton._instance = new Singleton(new singltonClass());
			}
			return Singleton._instance;
		}
	}
}

class singltonClass {
}